package com.jzy.message.activities.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018/4/3 0003.
 */

public class ChengYuanBean implements Serializable{

    /**
     * code : null
     * data : [{"avatar":null,"id":134,"realName":"空 ","roomname":"漆联天下群","userName":"13176886825","userid":264},{"avatar":null,"id":135,"realName":"简宁","roomname":"漆联天下群","userName":"13730933708","userid":365},{"avatar":null,"id":136,"realName":"唐扬永¸","roomname":"漆联天下群","userName":"13713074090","userid":108},{"avatar":null,"id":137,"realName":"陈法磊","roomname":"漆联天下群","userName":"15689432786","userid":263},{"avatar":null,"id":138,"realName":"好孩子","roomname":"漆联天下群","userName":"13335075524","userid":266}]
     * msg : 操作成功！
     * status : 1
     * total : 1
     */

    private Object code;
    private String msg;
    private int status;
    private int total;
    private List<DataBean> data;

    public ChengYuanBean(List<DataBean> beanList) {
        data=beanList;
    }

    public Object getCode() {
        return code;
    }

    public void setCode(Object code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable {
        /**
         * avatar : null
         * id : 134
         * realName : 空
         * roomname : 漆联天下群
         * userName : 13176886825
         * userid : 264
         */

        private Object avatar;
        private int id;
        private String realName;
        private String roomname;
        private String userName;
        private int userid;

        public int getDistinguish() {
            return distinguish;
        }

        public void setDistinguish(int distinguish) {
            this.distinguish = distinguish;
        }

        private int distinguish;
        public DataBean(int userid){
            this.userid = userid;
        }
        public Object getAvatar() {
            return avatar;
        }

        public void setAvatar(Object avatar) {
            this.avatar = avatar;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getRealName() {
            return realName;
        }

        public void setRealName(String realName) {
            this.realName = realName;
        }

        public String getRoomname() {
            return roomname;
        }

        public void setRoomname(String roomname) {
            this.roomname = roomname;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public int getUserid() {
            return userid;
        }

        public void setUserid(int userid) {
            this.userid = userid;
        }
    }
}
